function show(file) {
	for (i=0; i<file.length;i++) {
	document.getElementById("bankList").options.add(new Option(file[i].name,file[i].id));
	}
	
}

function showTwo(file) {
	for (i=0; i<file.length;i++) {
	document.getElementById("bankListTwo").options.add(new Option(file[i].name,file[i].id));
	}
	
}

function changeRule(){
    var bizTypeSelect = document.getElementById('bankList');
    var index = bizTypeSelect.selectedIndex;
    var bizType = bizTypeSelect.options[index].value;
       if(bizType == "1") {
            document.getElementById("bank").style.display="";
            document.getElementById("bank").disabled=false;
            document.getElementById("bankList").style.display="none";
            document.getElementById("bankList").disabled=true;
         } 
}

function showSelect(){  
    var _t = document.getElementById('bank');  
    var _s = document.getElementById('bankList');  
    if( _t.value == ""){  
        _t.style.display = "none";
        _t.disabled=true;
        _s.style.display = ""; 
        _s.disabled=false;
        _t.value="700";
        _s.value="700";
    }   
}


//主动支付银行列表
var payBankList = [
                {id:"700",name:"700-CFCA模拟银行"},
                {id:"888",name:"888-中金网银无卡"},
                {id:"889",name:"889-中金网银"},
                {id:"891",name:"891-金科无卡"},
                {id:"100",name:"100-邮储银行"},
                {id:"102",name:"102-工商银行"},
                {id:"103",name:"103-农业银行"},
                {id:"104",name:"104-中国银行"},
                {id:"105",name:"105-建设银行"},
                {id:"301",name:"301-交通银行"},
                {id:"302",name:"302-中信银行"},
                {id:"303",name:"303-光大银行"},
                {id:"304",name:"304-华夏银行"},
                {id:"305",name:"305-民生银行"},
                {id:"306",name:"306-广发银行"},
                {id:"307",name:"307-平安银行"},
                {id:"308",name:"308-招商银行"},
                {id:"309",name:"309-兴业银行"},
                {id:"310",name:"310-浦发银行"},
                {id:"316",name:"316-浙商银行"},
                {id:"401",name:"401-上海银行"},
                {id:"403",name:"403-北京银行"},
                {id:"408",name:"408-宁波银行"},
                {id:"409",name:"409-齐鲁银行"},
                {id:"422",name:"422-河北银行"},
                {id:"423",name:"423-杭州银行"},
                {id:"424",name:"424-南京银行"},
                {id:"434",name:"434-天津银行"},
                {id:"440",name:"440-徽商银行"},
                {id:"447",name:"447-兰州银行"},
                {id:"448",name:"448-江西银行"},
                {id:"450",name:"450-青岛银行"},
                {id:"491",name:"491-桂林银行"},
                {id:"1405",name:"1405-广州农村商业银行"},
                {id:"1562",name:"1562-珲春农商银行"},
                {id:"1565",name:"1565-颖淮农村商业银行"},
                {id:"1580",name:"1580-延边农村商业银行"},
                {id:"1",name:"手动输入"}
                ]


//预授权支付银行列表
var authPayBankList = [
                {id:"700",name:"700-CFCA模拟银行"}, 
                {id:"888",name:"888-中金网银无卡"},
                {id:"889",name:"889-中金网银"},
                {id:"891",name:"891-金科无卡"},
                {id:"100",name:"100-邮储银行"},
                {id:"102",name:"102-工商银行"},
                {id:"103",name:"103-农业银行"},
                {id:"104",name:"104-中国银行"},
                {id:"105",name:"105-建设银行"},
                {id:"301",name:"301-交通银行"},
                {id:"302",name:"302-中信银行"},
                {id:"303",name:"303-光大银行"},
                {id:"304",name:"304-华夏银行"},
                {id:"305",name:"305-民生银行"},
                {id:"306",name:"306-广发银行"},
                {id:"307",name:"307-平安银行"},
                {id:"308",name:"308-招商银行"},
                {id:"309",name:"309-兴业银行"},
                {id:"310",name:"310-浦发银行"},
                {id:"313",name:"313-华融湘江银行"},
                {id:"316",name:"316-浙商银行"},
                {id:"317",name:"317-渤海银行"},
                {id:"321",name:"321-重庆三峡银行"},
                {id:"401",name:"401-上海银行"},
                {id:"402",name:"402-厦门银行"},
                {id:"403",name:"403-北京银行"},
                {id:"405",name:"405-福建海峡银行"},
                {id:"408",name:"408-宁波银行"},
                {id:"409",name:"409-齐鲁银行"},
                {id:"412",name:"412-温州银行"},
                {id:"413",name:"413-广州银行"},
                {id:"417",name:"417-盛京银行"},
                {id:"419",name:"419-辽阳银行"},
                {id:"420",name:"420-大连银行"},
                {id:"421",name:"421-苏州银行"},
                {id:"422",name:"422-河北银行"},
                {id:"423",name:"423-杭州银行"},
                {id:"424",name:"424-南京银行"},
                {id:"426",name:"426-金华银行"},
                {id:"427",name:"427-新疆乌鲁木齐市商业银行"},
                {id:"428",name:"428-绍兴银行"},
                {id:"430",name:"430-抚顺银行"},
                {id:"431",name:"431-临商银行"},
                {id:"432",name:"432-湖北银行"},
                {id:"433",name:"433-葫芦岛银行"},
                {id:"434",name:"434-天津银行"},
                {id:"435",name:"435-郑州银行"},
                {id:"436",name:"436-宁夏银行"},
                {id:"438",name:"438-齐商银行"},
                {id:"439",name:"439-锦州银行"},
                {id:"440",name:"440-徽商银行"},
                {id:"442",name:"442-哈尔滨银行"},
                {id:"443",name:"443-贵阳银行"},
                {id:"447",name:"447-兰州银行"},
                {id:"448",name:"448-南昌银行"},
                {id:"451",name:"451-吉林银行"},
                {id:"454",name:"454-九江银行"},
                {id:"457",name:"457-秦皇岛市商业银行"},
                {id:"458",name:"458-青海银行"},
                {id:"459",name:"459-台州市商业银行"},
                {id:"461",name:"461-长沙银行"},
                {id:"462",name:"462-潍坊银行"},
                {id:"463",name:"463-赣州银行"},
                {id:"464",name:"464-泉州银行"},
                {id:"450",name:"450-青岛银行"}, 
                {id:"465",name:"465-营口银行"},
                {id:"466",name:"466-富滇银行"},
                {id:"470",name:"470-嘉兴银行"},
                {id:"473",name:"473-浙江泰隆商业银行"},
                {id:"474",name:"474-内蒙古银行"},
                {id:"478",name:"478-广西北部湾银行"},
                {id:"479",name:"479-包商银行"},
                {id:"481",name:"481-威海市商业银行"},
                {id:"483",name:"483-攀枝花商行"},
                {id:"488",name:"488-三门峡市商业银行"},
                {id:"490",name:"490-张家口市商业银行"},
                {id:"491",name:"491-桂林银行"},
                {id:"495",name:"495-柳州银行"},
                {id:"496",name:"496-南充市商业银行"},
                {id:"497",name:"497-莱商银行"},
                {id:"498",name:"498-德阳银行"},
                {id:"500",name:"500-六盘水市商业银行"},
                {id:"502",name:"502-曲靖市商业银行"},
                {id:"701",name:"701-昆仑银行"},
                {id:"1401",name:"1401-上海农商行"},
                {id:"1402",name:"1402-昆山农村商业银行"},
                {id:"1403",name:"1403-常熟农商银行"},
                {id:"1404",name:"1404-深圳农村商业银行"},
                {id:"1405",name:"1405-广州农村商业银行"},
                {id:"1408",name:"1408-顺德农商银行"},
                {id:"1410",name:"1410-湖北农信"},
                {id:"1412",name:"1412-江阴农村商业银行"},
                {id:"1413",name:"1413-重庆农村商业银行"},
                {id:"1414",name:"1414-山东农信"},
                {id:"1415",name:"1415-东莞农村商业银行"},
                {id:"1416",name:"1416-张家港农村商业银行"},
                {id:"1418",name:"1418-北京农村商业银行"},
                {id:"1420",name:"1420-宁波鄞州农村合作银行"},                
                {id:"1424",name:"1424-江苏省农村信用社联合社"},
                {id:"1428",name:"1428-吴江农村商业银行"},
                {id:"1433",name:"1433-太仓农村商业银行"},
                {id:"1434",name:"1434-临汾市尧都市农村信用联社"},
                {id:"1437",name:"1437-无锡农商行"},
                {id:"1438",name:"1438-湖南农村信用社"},
                {id:"1439",name:"1439-江西农信"},
                {id:"1442",name:"1442-陕西省农村信用社联合社"},
                {id:"1501",name:"1501-江苏银行"},
                {id:"1502",name:"1502-邯郸市商业银行"},
                {id:"1503",name:"1503-邢台银行"},
                {id:"1504",name:"1504-承德银行"},
                {id:"1505",name:"1505-沧州银行"},
                {id:"1506",name:"1506-晋城市商业银行"},
                {id:"1507",name:"1507-鄂尔多斯银行"},
                {id:"1508",name:"1508-上饶银行"},
                {id:"1509",name:"1509-东营市商业银行"},
                {id:"1511",name:"1511-泰安市商业银行"},
                {id:"1514",name:"1514-漯河商行"},
                {id:"1515",name:"1515-商丘市商业银行"},
                {id:"1517",name:"1517-浙江民泰商业银行"},
                {id:"1518",name:"1518-龙江银行"},
                {id:"1519",name:"1519-浙江稠州商业银行"},
                {id:"1520",name:"1520-安徽省农村信用社联合社"},
                {id:"1521",name:"1521-广西壮族农村信用社联合社"},
                {id:"1522",name:"1522-海南省农村信用社"},
                {id:"1523",name:"1523-云南省农村信用联社"},
                {id:"1524",name:"1524-宁夏黄河农村商业银行"},
                {id:"1526",name:"1526-安阳市商业银行"},
                {id:"1527",name:"1527-保定市商业银行"},
                {id:"1528",name:"1528-成都农商银行"},
                {id:"1529",name:"1529-广东省农村信用社"},
                {id:"1530",name:"1530-河北省农村信用联合社"},                
                {id:"1531",name:"1531-鹤壁银行"},
                {id:"1532",name:"1532-衡水市商业银行"},
                {id:"1534",name:"1534-晋中市商业商行"},                
                {id:"1535",name:"1535-库尔勒市商业银行"},
                {id:"1536",name:"1536-乐山市商业银行"},
                {id:"1537",name:"1537-凉山州商业银行"},
                {id:"1538",name:"1538-内蒙古农信"},
                {id:"1539",name:"1539-山西省农村信用社联合社"},
                {id:"1540",name:"1540-深圳福田银座村镇银行"},
                {id:"1541",name:"1541-遂宁市商业银行"},
                {id:"1542",name:"1542-唐山市商业银行"},
                {id:"1543",name:"1543-天津滨海银行"},
                {id:"1544",name:"1544-乌海银行"},
                {id:"1546",name:"1546-许昌银行"},
                {id:"1547",name:"1547-雅安市商业银行"},
                {id:"1548",name:"1548-阳泉市商业银行"},
                {id:"1549",name:"1549-宜宾市商业银行"},
                {id:"1550",name:"1550-玉溪市商业银行"},
                {id:"1551",name:"1551-周口市商业银行"},                
                {id:"1552",name:"1552-自贡市商业银行"},
                {id:"1553",name:"1553-遵义市商业银行"},
                {id:"1555",name:"1555-长安银行"},
                {id:"1562",name:"1562-吉林省农村信用合作社"},
                {id:"1565",name:"1565-颖淮农村商业银行"},
                {id:"1569",name:"1569-贵州银行"},
                {id:"1570",name:"1570-长治商行"}, 
                {id:"1571",name:"1571-朝阳银行"},
                {id:"1572",name:"1572-江苏江南农村商业银行"},
                {id:"1573",name:"1573-宁波东海银行"},
                {id:"1574",name:"1574-平顶山银行"},
                {id:"1575",name:"1575-青海省农村信用社联合社"},
                {id:"1576",name:"1576-四川省农村信用合作社"},
                {id:"1577",name:"1577-铁岭商业银行"},
                {id:"1578",name:"1578-武汉农村商业银行"},
                {id:"1579",name:"1579-信阳银行"},  
                {id:"1585",name:"1585-新疆农村信用社"},
                {id:"1629",name:"1629-驻马店银行"},
                {id:"1734",name:"1734-石家庄汇融农村合作银行"},
                {id:"3001",name:"3001-东亚银行"},
                {id:"3007",name:"3007-星展银行"},
                {id:"3010",name:"3010-花旗银行"},
                {id:"3034",name:"3034-渣打银行（中国）"},
                {id:"3036",name:"3036-法国兴业银行（中国）"}
                ]
//快捷代收银行列表
var quickPayBankList = [
                       {id:"700",name:"700-CFCA模拟银行"}, 
                       {id:"1",name:"手动输入"},
                       {id:"100",name:"100-邮储银行"},
                       {id:"102",name:"102-工商银行"},
                       {id:"103",name:"103-农业银行"},
                       {id:"104",name:"104-中国银行"},
                       {id:"105",name:"105-建设银行"},
                       {id:"301",name:"301-交通银行"},
                       {id:"302",name:"302-中信银行"},
                       {id:"303",name:"303-光大银行"},
                       {id:"304",name:"304-华夏银行"},
                       {id:"305",name:"305-民生银行"},
                       {id:"306",name:"306-广发银行"},
                       {id:"307",name:"307-平安银行"},
                       {id:"308",name:"308-招商银行"},
                       {id:"309",name:"309-兴业银行"},
                       {id:"310",name:"310-浦发银行"},
                       {id:"313",name:"313-华融湘江银行"},
                       {id:"316",name:"316-浙商银行"},
                       {id:"317",name:"317-渤海银行"},
                       {id:"321",name:"321-重庆三峡银行"},
                       {id:"401",name:"401-上海银行"},
                       {id:"402",name:"402-厦门银行"},
                       {id:"403",name:"403-北京银行"},
                       {id:"405",name:"405-福建海峡银行"},
                       {id:"408",name:"408-宁波银行"},
                       {id:"409",name:"409-齐鲁银行"},
                       {id:"412",name:"412-温州银行"},
                       {id:"413",name:"413-广州银行"},
                       {id:"417",name:"417-盛京银行"},
                       {id:"419",name:"419-辽阳银行"},
                       {id:"420",name:"420-大连银行"},
                       {id:"421",name:"421-苏州银行"},
                       {id:"422",name:"422-河北银行"},
                       {id:"423",name:"423-杭州银行"},
                       {id:"424",name:"424-南京银行"},
                       {id:"426",name:"426-金华银行"},
                       {id:"427",name:"427-新疆乌鲁木齐市商业银行"},
                       {id:"428",name:"428-绍兴银行"},
                       {id:"430",name:"430-抚顺银行"},
                       {id:"431",name:"431-临商银行"},
                       {id:"432",name:"432-湖北银行"},
                       {id:"433",name:"433-葫芦岛银行"},
                       {id:"434",name:"434-天津银行"},
                       {id:"435",name:"435-郑州银行"},
                       {id:"436",name:"436-宁夏银行"},
                       {id:"438",name:"438-齐商银行"},
                       {id:"439",name:"439-锦州银行"},
                       {id:"440",name:"440-徽商银行"},
                       {id:"442",name:"442-哈尔滨银行"},
                       {id:"443",name:"443-贵阳银行"},
                       {id:"447",name:"447-兰州银行"},
                       {id:"448",name:"448-南昌银行"},
                       {id:"451",name:"451-吉林银行"},
                       {id:"454",name:"454-九江银行"},
                       {id:"457",name:"457-秦皇岛市商业银行"},
                       {id:"458",name:"458-青海银行"},
                       {id:"459",name:"459-台州市商业银行"},
                       {id:"461",name:"461-长沙银行"},
                       {id:"462",name:"462-潍坊银行"},
                       {id:"463",name:"463-赣州银行"},
                       {id:"464",name:"464-泉州银行"},
                       {id:"450",name:"450-青岛银行"}, 
                       {id:"465",name:"465-营口银行"},
                       {id:"466",name:"466-富滇银行"},
                       {id:"470",name:"470-嘉兴银行"},
                       {id:"472",name:"472-廊坊银行"},
                       {id:"473",name:"473-浙江泰隆商业银行"},
                       {id:"474",name:"474-内蒙古银行"},
                       {id:"478",name:"478-广西北部湾银行"},
                       {id:"479",name:"479-包商银行"},
                       {id:"481",name:"481-威海市商业银行"},
                       {id:"483",name:"483-攀枝花商行"},
                       {id:"486",name:"486-泸州市商业银行"},
                       {id:"488",name:"488-三门峡市商业银行"},
                       {id:"490",name:"490-张家口市商业银行"},
                       {id:"491",name:"491-桂林银行"},
                       {id:"495",name:"495-柳州银行"},
                       {id:"496",name:"496-南充市商业银行"},
                       {id:"497",name:"497-莱商银行"},
                       {id:"498",name:"498-德阳银行"},
                       {id:"500",name:"500-六盘水市商业银行"},
                       {id:"502",name:"502-曲靖市商业银行"},
                       {id:"701",name:"701-昆仑银行"},
                       {id:"1401",name:"1401-上海农商行"},
                       {id:"1402",name:"1402-昆山农村商业银行"},
                       {id:"1403",name:"1403-常熟农商银行"},
                       {id:"1404",name:"1404-深圳农村商业银行"},
                       {id:"1405",name:"1405-广州农村商业银行"},
                       {id:"1408",name:"1408-顺德农商银行"},
                       {id:"1410",name:"1410-湖北农信"},
                       {id:"1412",name:"1412-江阴农村商业银行"},
                       {id:"1413",name:"1413-重庆农村商业银行"},
                       {id:"1414",name:"1414-山东农信"},
                       {id:"1415",name:"1415-东莞农村商业银行"},
                       {id:"1416",name:"1416-张家港农村商业银行"},
                       {id:"1418",name:"1418-北京农村商业银行"},
                       {id:"1420",name:"1420-宁波鄞州农村合作银行"},                
                       {id:"1424",name:"1424-江苏省农村信用社联合社"},
                       {id:"1428",name:"1428-吴江农村商业银行"},
                       {id:"1433",name:"1433-太仓农村商业银行"},
                       {id:"1434",name:"1434-临汾市尧都市农村信用联社"},
                       {id:"1437",name:"1437-无锡农商行"},
                       {id:"1438",name:"1438-湖南农村信用社"},
                       {id:"1439",name:"1439-江西农信"},
                       {id:"1442",name:"1442-陕西省农村信用社联合社"},
                       {id:"1501",name:"1501-江苏银行"},
                       {id:"1502",name:"1502-邯郸市商业银行"},
                       {id:"1503",name:"1503-邢台银行"},
                       {id:"1504",name:"1504-承德银行"},
                       {id:"1505",name:"1505-沧州银行"},
                       {id:"1506",name:"1506-晋城市商业银行"},
                       {id:"1507",name:"1507-鄂尔多斯银行"},
                       {id:"1508",name:"1508-上饶银行"},
                       {id:"1509",name:"1509-东营市商业银行"},
                       {id:"1511",name:"1511-泰安市商业银行"},
                       {id:"1514",name:"1514-漯河商行"},
                       {id:"1515",name:"1515-商丘市商业银行"},
                       {id:"1517",name:"1517-浙江民泰商业银行"},
                       {id:"1518",name:"1518-龙江银行"},
                       {id:"1519",name:"1519-浙江稠州商业银行"},
                       {id:"1520",name:"1520-安徽省农村信用社联合社"},
                       {id:"1521",name:"1521-广西壮族农村信用社联合社"},
                       {id:"1522",name:"1522-海南省农村信用社"},
                       {id:"1523",name:"1523-云南省农村信用联社"},
                       {id:"1524",name:"1524-宁夏黄河农村商业银行"},
                       {id:"1526",name:"1526-安阳市商业银行"},
                       {id:"1527",name:"1527-保定市商业银行"},
                       {id:"1528",name:"1528-成都农商银行"},
                       {id:"1529",name:"1529-广东省农村信用社"},
                       {id:"1530",name:"1530-河北省农村信用联合社"},                
                       {id:"1531",name:"1531-鹤壁银行"},
                       {id:"1532",name:"1532-衡水市商业银行"},
                       {id:"1534",name:"1534-晋中市商业商行"},                
                       {id:"1535",name:"1535-库尔勒市商业银行"},
                       {id:"1536",name:"1536-乐山市商业银行"},
                       {id:"1537",name:"1537-凉山州商业银行"},
                       {id:"1538",name:"1538-内蒙古农信"},
                       {id:"1539",name:"1539-山西省农村信用社联合社"},
                       {id:"1540",name:"1540-深圳福田银座村镇银行"},
                       {id:"1541",name:"1541-遂宁市商业银行"},
                       {id:"1542",name:"1542-唐山市商业银行"},
                       {id:"1543",name:"1543-天津滨海银行"},
                       {id:"1544",name:"1544-乌海银行"},
                       {id:"1546",name:"1546-许昌银行"},
                       {id:"1547",name:"1547-雅安市商业银行"},
                       {id:"1548",name:"1548-阳泉市商业银行"},
                       {id:"1549",name:"1549-宜宾市商业银行"},
                       {id:"1550",name:"1550-玉溪市商业银行"},
                       {id:"1551",name:"1551-周口市商业银行"},                
                       {id:"1552",name:"1552-自贡市商业银行"},
                       {id:"1553",name:"1553-遵义市商业银行"},
                       {id:"1555",name:"1555-长安银行"},
                       {id:"1562",name:"1562-吉林省农村信用合作社"},
                       {id:"1565",name:"1565-颖淮农村商业银行"},
                       {id:"1569",name:"1569-贵州银行"},
                       {id:"1570",name:"1570-长治商行"}, 
                       {id:"1571",name:"1571-朝阳银行"},
                       {id:"1572",name:"1572-江苏江南农村商业银行"},
                       {id:"1573",name:"1573-宁波东海银行"},
                       {id:"1574",name:"1574-平顶山银行"},
                       {id:"1575",name:"1575-青海省农村信用社联合社"},
                       {id:"1576",name:"1576-四川省农村信用合作社"},
                       {id:"1577",name:"1577-铁岭商业银行"},
                       {id:"1578",name:"1578-武汉农村商业银行"},
                       {id:"1579",name:"1579-信阳银行"},                
                       {id:"1629",name:"1629-驻马店银行"},
                       {id:"1734",name:"1734-石家庄汇融农村合作银行"},
                       {id:"3001",name:"3001-东亚银行"},
                       {id:"3007",name:"3007-星展银行"},
                       {id:"3010",name:"3010-花旗银行"},
                       {id:"3034",name:"3034-渣打银行（中国）"},
                       {id:"3036",name:"3036-法国兴业银行（中国）"}
                       ]